﻿using Abp.Domain.Entities;

namespace Basefr.Core.Entities
{
    /// <summary>
    /// 快照接口
    /// </summary>
    public interface ISnapshot<T> where T : Entity<int>
    {
        /// <summary>
        /// 是否快照
        /// </summary>
        bool IsSnapshot { get; set; }

        /// <summary>
        /// 原对象
        /// </summary>
        int? OriginId { get; set; }
        T Origin { get; set; }

    }
}
